package com.karry.yl.dao.personnel;

import com.karry.commons.base.SuperMapper;
import com.karry.yl.domain.personnel.Department;
import com.karry.yl.domain.personnel.DepartmentTreeTemplate;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Administrator
 */
@Repository
public interface DepartmentMapper extends SuperMapper<Department> {

    /**
     * 获取部门书结构
     * @param orgId
     * @return
     */
    List<DepartmentTreeTemplate> getTree(Long orgId);
}
